home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / ITOH.HDR < prev    next >
Text File  |  1994-04-25  |  927b  |  37 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _IToH( nInteger ) --> cHexString
  8.  
  9. PARAMETERS:
  10.  
  11. nInteger: numeric integer value in base 10.
  12.  
  13. SHORT:
  14.  
  15. Convert base 10 integer to base 16 hex string.
  16.  
  17. DESCRIPTION:
  18.  
  19. _IToH() converts a numeric decimal value to it's equivalent hexadecimal
  20. string representation.
  21.  
  22. NOTE:
  23.  
  24. Maximum (known) Integer to Hexadecimal conversion is: 7,686,143,364,045,647.
  25.  
  26. (That way you can work financial problems involving the U.S. Federal
  27. Budget in Hexadecimal!!!  That's how they do it, I'm sure.)
  28.  
  29. Beyond that number I am unable to verify accuracy.
  30.  
  31. EXAMPLE:
  32.  
  33. ? _IToH(15)  // returns "F"
  34. ? _IToH(255) // returns "FF"
  35.  
  36. ******************************************************************************/
  37.